<template>
  <span> {{ obj[key] }}</span>
</template>

<script>
export default {
  props: {
    value: [String, Number],
    model: Object,
  },
  data() {
    return {
      key: this.value,
      obj: this.model,
    };
  },
};
</script>

<style></style>
